<h1>New condition</h1>

<%= error_messages_for :condition %>

<% form_for(:condition, :url => conditions_path) do |f| %>
	<p><b>Name</b><br />   <%= f.text_field :name%>
	<p><b>Code</b><br />   <%= f.text_field :code%>
  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', conditions_path %>